var type = this.readType(reader);
for (var i = 0; i < paramCount; i++) { var p = this.readParam(reader);
readLocalVarSig(reader: io.BufferReader) { var callingConvention = <SignatureReader.CallingConvention>reader.readByte();
if (callingConvention !== SignatureReader.CallingConvention.Local)
throw new Error('Expected CallingConvention.Local, encountered ' + formatEnum(callingConvention, SignatureReader.CallingConvention) + '.'); var count = this._readCompressed(reader);
for (var i = 0; i < count; i++) { var peekNext = reader.peekByte();
if (peekNext === ElementType.TypedByRef) { var customMod = this.readCustomMod(reader);
customMods.push(customMod);
var constraint = this.readConstraint(reader);
constraints.push(constraint);
peekNext = reader.peekByte();
if (peekNext === ElementType.ByRef) { var type = this.readType(reader);
readRefType(reader: io.BufferReader): Type { readConstraint(reader: io.BufferReader) { readParam(reader: io.BufferReader) { readCustomMod(reader: io.BufferReader) { readType(reader: io.BufferReader): Type { private _readCompressed(reader: io.BufferReader): number { var b0 = reader.readByte();
if (!(b0 & 0x80)) return b0;
var b1 = reader.readByte();